/***** flex *****/

.ui-flex, .ui-flex-center, .ui-flex-between, .ui-flex-around, .ui-flex-column {
    position: relative;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    color: inherit;
}

.ui-flex-center {
    -webkit-justify-content: center;
    justify-content: center;
}

.ui-flex-between {
    -webkit-justify-content: space-between;
    justify-content: space-between;
}

.ui-flex-around {
    -webkit-justify-content: space-around;
    justify-content: space-around;
}

.ui-flex-column {
    -webkit-flex-direction: column;
    flex-direction: column;
}

.ui-flex-1 {
    -webkit-flex: 1;
    flex: 1;
}

.ui-flex-lt {
    -webkit-align-self: flex-start;
    -moz-align-self: flex-start;
    align-self: flex-start;
}

/* 文字截断 */

.ui-nowrap, .ui-nowrap-flex, .ui-nowrap-2, .ui-nowrap-3 {
    overflow: hidden;
    text-overflow: ellipsis;
}

.ui-nowrap {
    max-width: 100%;
    white-space: nowrap;
}

.ui-nowrap-flex, .ui-nowrap-2, .ui-nowrap-3 {
    display: -webkit-box;
    /*! autoprefixer: off */
    -webkit-box-orient: vertical;
    /*! autoprefixer: on */
}

.ui-nowrap-flex {
    -webkit-line-clamp: 1;
    -webkit-box-flex: 1;
    height: inherit;
}

/*要截断的行数*/

.ui-nowrap-2 {
    -webkit-line-clamp: 2;
}

.ui-nowrap-3 {
    -webkit-line-clamp: 3;
}

/* 通用 */

.content-pop, .content-header, .content {
    padding: 0;
}

.vm-container {
    padding: 0 15px;
}

.card-box {
    background-color: #fff;
    border-radius: 5px;
    margin: 15px 0;
    padding: 15px;
}

.main-line {
    margin: 20px 0;
    border-bottom: 1px solid #EBEEF5;
}

/* 表格 */

.tb-list {
    background-color: transparent!important;
}

.el-table th, .el-table tr, .el-table, .el-table__expanded-cell {
    background-color: transparent;
}

.tb-list td, .tb-list th {
    background-color: #fff;
    border-bottom: none;
    position: relative;
    border-bottom: 10px solid #ECF0F5 !important;
    /* padding-bottom: 22px; */
}

.tb-list td:nth-child(1):before, .tb-list td:nth-child(1):after, .tb-list td:last-child:before, .tb-list td:last-child:after, .tb-list th:nth-child(1):before, .tb-list th:nth-child(1):after, .tb-list th:last-child:before, .tb-list th:last-child:after {
    content: ' ';
    position: absolute;
    height: 10px;
    width: 10px;
    border-radius: 5px;
}

.tb-list td:nth-child(1):before, .tb-list th:nth-child(1):before {
    bottom: -2px;
    left: -2px;
    background-color: #ECF0F5;
    z-index: 1;
}

.tb-list td:nth-child(1):after, .tb-list th:nth-child(1):after {
    bottom: 0;
    left: 0;
    background-color: #fff;
    z-index: 2;
}

.tb-list th:last-child:before, .tb-list td:last-child:before {
    bottom: -2px;
    right: -2px;
    background-color: #ECF0F5;
    z-index: 1;
}

.tb-list td:last-child:after, .tb-list th:last-child:after {
    bottom: 0;
    right: 0;
    background-color: #fff;
    z-index: 2;
}

.tb-list td:nth-child(1), .tb-list th:nth-child(1) {
    border-radius: 5px 0 0 0px;
}

.tb-list td:last-child, .tb-list th:last-child {
    border-radius: 0 5px 0px 0;
}

.tb-list tr:hover td:after, .tb-list tr:hover th:after {
    background-color: #F5F7FA;
}

/* 分页器 */

.main-pagination {
    display: flex;
    flex-direction: row-reverse;
    margin-top: 40px;
}

.main-pagination .number {
    font-weight: normal;
}

/* 图片上传 */

.avatar-uploader .el-upload {
    border: 1px dashed #d9d9d9;
    border-radius: 6px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.avatar-uploader .el-upload:hover {
    border-color: #409EFF;
}

.avatar-uploader-icon {
    font-size: 28px;
    color: #8c939d;
    width: 100px;
    height: 100px;
    line-height: 100px;
    text-align: center;
}

.avatar {
    width: 100px;
    height: 100px;
    display: block;
}

.avatar-uploader .el-upload__input {
    display: none;
}